package com.ruoyi.project.jiaqin.quotation.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import com.ruoyi.project.jiaqin.val.domain.ClassAttrVal;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 行情对象 quotation
 *
 * @author admin
 * @date 2020-12-21
 */
public class Quotation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产地 */
    private String areaName;

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    /** 是否是企业：0-否 1-是 */
    private Integer isCompany;
    /** 个人或企业ID */
    private String memberCompanyId;

    public Integer getIsCompany() {
        return isCompany;
    }

    public void setIsCompany(Integer isCompany) {
        this.isCompany = isCompany;
    }

    public String getMemberCompanyId() {
        return memberCompanyId;
    }

    public void setMemberCompanyId(String memberCompanyId) {
        this.memberCompanyId = memberCompanyId;
    }

    /** 行情ID */
    private String id;

    /** 发布人ID */
    @Excel(name = "发布人ID")
    private String memberId;

    /** 二级分类ID */
    @Excel(name = "二级分类ID")
    private String classIdTwo;

    @Excel(name = "三级分类名")
    private String twoClassName;

    public String getTwoClassName() {
        return twoClassName;
    }

    public void setTwoClassName(String twoClassName) {
        this.twoClassName = twoClassName;
    }

    /** 三级分类ID */
    @Excel(name = "三级分类ID")
    private String classIdThr;

    @Excel(name = "三级分类名")
    private String thrClassName;

    @Excel(name= "三级分类单位")
    private String thrClassUnit;

    /** 属性ID列表 */
    @Excel(name = "属性列表")
    private String attrVals;

    /**
     * 属性对象列表
     */
    private List<ClassAttrVal> attrValList;

    /** 产地省份 */
    @Excel(name = "产地省份")
    private String province;

    /** 产地城市 */
    @Excel(name = "产地城市")
    private String city;

    /** 产地区县 */
    @Excel(name = "产地区县")
    private String area;

    /** 行情价格 */
    @Excel(name = "行情价格")
    private BigDecimal price;

    /** 发布地区 */
    @Excel(name = "发布地区")
    private String releaseArea;

    /** 市场动态 */
    @Excel(name = "市场动态")
    private String marketDynamic;
    /** 回答量 */
    @Excel(name = "点赞量")
    private Long likes;

    @Excel(name = "阅读量")
    private Long looks;

    /** 发布时间 */
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date releaseDate;
    /** 上期价格 **/
    @Excel(name = "上期价格")
    private BigDecimal lastPrice;

    /** 波动百分比(相较于前日) */
    @Excel(name = "波动百分比(相较于前日)")
    private BigDecimal wavePerc;

    /** 波动价格(相较于前日) */
    @Excel(name = "波动价格(相较于前日)")
    private BigDecimal wavePrice;

    /** 趋势状态 0-平稳1-上涨2-下跌 */
    @Excel(name = "趋势状态 0-平稳1-上涨2-下跌")
    private Integer status;

    private Boolean flagLikes;

    /** 名字 */
    private String memberName;

    /** 头像 */
    private String headpic;

    /** 分类属性 */
    private String classAttribute;

    @Excel(name = "产地属性")
    private int classAreaId;

    @Excel(name = "1类id")
    private String classIdOne;
    private String cityId;

    private String distance;

    /** 产地名 */
    private String classAreaName;

    /** 行情数 */
    @Excel(name = "行情数")
    private Integer quotationNum;

    /** 供应数 */
    @Excel(name = "供应数")
    private Integer supplyNum;

    /** 求购数 */
    @Excel(name = "求购数")
    private Integer wantToBuyNum;

    /** 删除标记(0-正常,1-删除) */
    private Integer delFlag;

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getQuotationNum() {
        return quotationNum;
    }

    public void setQuotationNum(Integer quotationNum) {
        this.quotationNum = quotationNum;
    }

    public Integer getSupplyNum() {
        return supplyNum;
    }

    public void setSupplyNum(Integer supplyNum) {
        this.supplyNum = supplyNum;
    }

    public Integer getWantToBuyNum() {
        return wantToBuyNum;
    }

    public void setWantToBuyNum(Integer wantToBuyNum) {
        this.wantToBuyNum = wantToBuyNum;
    }

    public String getClassAreaName() {
        return classAreaName;
    }

    public void setClassAreaName(String classAreaName) {
        this.classAreaName = classAreaName;
    }

    public String getClassAttribute() {
        return classAttribute;
    }

    public void setClassAttribute(String classAttribute) {
        this.classAttribute = classAttribute;
    }

    public String getHeadpic() {
        return headpic;
    }
    public void setHeadpic(String headpic) {
        this.headpic = headpic;
    }

    public String getMemberName() {
        return memberName;
    }
    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public Boolean getFlagLikes() {
        return flagLikes;
    }

    public void setFlagLikes(Boolean flagLikes) {
        this.flagLikes = flagLikes;
    }

    public Long getLikes() {
        return likes;
    }

    public void setLikes(Long likes) {
        this.likes = likes;
    }

    public BigDecimal getLastPrice() {
        return lastPrice;
    }

    public void setLastPrice(BigDecimal lastPrice) {
        this.lastPrice = lastPrice;
    }

    public BigDecimal getWavePerc() {
        return wavePerc;
    }

    public void setWavePerc(BigDecimal wavePerc) {
        this.wavePerc = wavePerc;
    }

    public BigDecimal getWavePrice() {
        return wavePrice;
    }

    public void setWavePrice(BigDecimal wavePrice) {
        this.wavePrice = wavePrice;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setMemberId(String memberId)
    {
        this.memberId = memberId;
    }

    public String getMemberId()
    {
        return memberId;
    }
    public void setClassIdTwo(String classIdTwo)
    {
        this.classIdTwo = classIdTwo;
    }

    public String getClassIdTwo()
    {
        return classIdTwo;
    }
    public void setClassIdThr(String classIdThr)
    {
        this.classIdThr = classIdThr;
    }

    public String getThrClassUnit() {
        return thrClassUnit;
    }

    public void setThrClassUnit(String thrClassUnit) {
        this.thrClassUnit = thrClassUnit;
    }

    public String getClassIdThr()
    {
        return classIdThr;
    }
    public void setAttrVals(String attrVals)
    {
        this.attrVals = attrVals;
    }

    public String getThrClassName() {
        return thrClassName;
    }

    public void setThrClassName(String thrClassName) {
        this.thrClassName = thrClassName;
    }

    public List<ClassAttrVal> getAttrValList() {
        return attrValList;
    }

    public void setAttrValList(List<ClassAttrVal> attrValList) {
        this.attrValList = attrValList;
    }

    public String getAttrVals()
    {
        return attrVals;
    }
    public void setProvince(String province)
    {
        this.province = province;
    }

    public String getProvince()
    {
        return province;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setArea(String area)
    {
        this.area = area;
    }

    public String getArea()
    {
        return area;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public void setReleaseArea(String releaseArea)
    {
        this.releaseArea = releaseArea;
    }

    public String getReleaseArea()
    {
        return releaseArea;
    }
    public void setMarketDynamic(String marketDynamic)
    {
        this.marketDynamic = marketDynamic;
    }

    public String getMarketDynamic()
    {
        return marketDynamic;
    }
    public void setReleaseDate(Date releaseDate)
    {
        this.releaseDate = releaseDate;
    }

    public Date getReleaseDate()
    {
        return releaseDate;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public int getClassAreaId() {
        return classAreaId;
    }

    public void setClassAreaId(int classAreaId) {
        this.classAreaId = classAreaId;
    }

    public String getClassIdOne() {
        return classIdOne;
    }

    public void setClassIdOne(String classIdOne) {
        this.classIdOne = classIdOne;
    }

    public Long getLooks() {
        return looks;
    }

    public void setLooks(Long looks) {
        this.looks = looks;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    @Override
    public String toString() {
        return "Quotation{" +
                "id='" + id + '\'' +
                ", memberId='" + memberId + '\'' +
                ", classIdTwo='" + classIdTwo + '\'' +
                ", twoClassName='" + twoClassName + '\'' +
                ", classIdThr='" + classIdThr + '\'' +
                ", thrClassName='" + thrClassName + '\'' +
                ", thrClassUnit='" + thrClassUnit + '\'' +
                ", attrVals='" + attrVals + '\'' +
                ", attrValList=" + attrValList +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", area='" + area + '\'' +
                ", price=" + price +
                ", releaseArea='" + releaseArea + '\'' +
                ", marketDynamic='" + marketDynamic + '\'' +
                ", likes=" + likes +
                ", looks=" + looks +
                ", releaseDate=" + releaseDate +
                ", lastPrice=" + lastPrice +
                ", wavePerc=" + wavePerc +
                ", wavePrice=" + wavePrice +
                ", status=" + status +
                ", flagLikes=" + flagLikes +
                ", memberName='" + memberName + '\'' +
                ", headpic='" + headpic + '\'' +
                ", classAttribute='" + classAttribute + '\'' +
                ", classAreaId=" + classAreaId +
                ", classIdOne='" + classIdOne + '\'' +
                ", cityId='" + cityId + '\'' +
                ", distance='" + distance + '\'' +
                ", delFlag='" + delFlag + '\'' +
                '}';
    }
}
